package com.mistyrain.service;

import com.mistyrain.entity.Order;
import com.mistyrain.entity.OrderVO;
import org.springframework.stereotype.Service;


public interface OrderService {
    public void save(Order order);
    public OrderVO findAllByUid(long uid, int index, int limit);
    public int countByUid(long uid);
    public void deleteByMid(long mid);
    public void deleteByUid(long uid);
    public OrderVO findAllByState(int state,int index,int limit);
    public int countByState(int state);
    public void updateState(long id,long aid,int state);
}
